package com.igeekhome.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author Romeo
 */
@Data
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class Scan {
    private Integer id;

    private Integer waybillNumber;

    private Date operationDate;

    private String scanType;

    private Integer expressTypeId;

    private Integer itemTypeId;

    private String senderClient;

    private String receiver;

    private Integer transportMethodId;

    private Integer paymentMethodId;

    private Integer sendNetworkId;

    private BigDecimal weight;

    private Integer takerId;

    private Integer deliverymanId;

    private Integer scannerId;

    private Integer lastStopId;

    private Integer nextStopId;

    private Integer destinationId;

    private Integer shiftId;

    private Integer pouchId;

    private Integer carId;

    private Integer agentId;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd" ,timezone = "GMT+8 ")
    private Date createTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd" ,timezone = "GMT+8 ")
    private Date updateTime;

    private Integer status;

    private String scanPower;

    private Integer destinationNetworkId;

    private Integer scanNetworkId;


}